package demo1;

public class Bird extends Animal implements IFlying, IRunning{

    public Bird(String name,int age) {
        super(name, age);
    }

    @Override
    public void Eat( ) {
        System.out.println(name + " 吃鸟粮！");
    }

    @Override
    public void Flying( ) {
        System.out.println(name + "正在飞");
    }

    @Override
    public void Running( ) {
        System.out.println(name + "正在跑");
    }
}
